<?php
$this->Html->css('controllers/Passports/index.css?1', array('block' => 'stylesTop'));
$this->Html->script('controllers/Passports/verify.js?1', array('block' => 'scriptBottom'));
$appBosch->urlPassport = $this->Html->url(array('action' => 'passport'));
?>
    <div class="searchEmp col-lg-6">
        <form action="<?php echo $this->Html->url(array('action' => 'passports')); ?>" method="GET">
            <label for="employees"> <?php echo __('ID passaporte'); ?> </label>
            <input type="text" class="form-control" id="employees" name="ID passaporte"
                   placeholder="54f7adf1-d5a4-4b66-9d84-08281b09678d" required
                   value="<?php echo $appBosch->idPassport != '' ? $appBosch->idPassport : ''; ?>"/>
            <input type="button" id="btnBuscar" class="btn btn-primary" value="<?php echo __("Buscar"); ?>"/>
        </form>
    </div>
    <div id="resultPassport" class="col-lg-12"></div>
<?php $this->start('jsVars'); ?>
    <script type="text/javascript">
        var appBosch = <?php echo json_encode($appBosch); ?>;
    </script>
<?php $this->end();